﻿<UserControl x:Class="SMS.Controls.HeaderTool"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid x:Name="LayoutRoot" HorizontalAlignment="Stretch" Height="60" >
        <Grid.RowDefinitions>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="350"/>
            <ColumnDefinition Width="50"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid Grid.Column="0" HorizontalAlignment="Left">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" >
                <TextBlock x:Name="ApplicationNameTextBlock"
                               Style="{StaticResource ApplicationNameStyle}"
                               Text="eShopping System" HorizontalAlignment="Left" />
                <ContentControl Style="{StaticResource NavLogoIcon}" />
                
            </StackPanel>
        </Grid>
        <Grid Grid.Column="1">
            <!--<Image Source="" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></Image>-->
        </Grid>
        <Grid Grid.Column="2" HorizontalAlignment="Right">
            <StackPanel HorizontalAlignment="Right">
                <TextBlock  Text="Logged in as Admin on 23-March-2012" ></TextBlock>
            </StackPanel>
        </Grid>
        <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
            
            
        </StackPanel>-->

    </Grid>
</UserControl>
